ErrorException [ Notice ]: Undefined variable: exist

APPPATH/views/client/contacts.php [ 9 ]

 4         <h2>Задайте нам вопрос:</h2>
 5         <div class="text_message"></div>
 6         <form id="question_form"  class="contact-form rf other" method="POST">
 7             <input type="hidden" name="subject" value="Вопрос со страницы контактов">
 8             <div class="left">
 9                 <?foreach ($exist as $ex) :?>
10                 <? if ($ex['tag']== 'input'):?>
11 
12                 <input required type="<?= $ex['type']; ?>" name="<?= $ex['id']; ?>" value="<?= $ex['id'] == 5 ? 'kontacty' : '' ?>" placeholder="<?= $ex['placeholder']; ?>" class="rfield"/>
13 
14                 <? endif; ?>
  1. APPPATH/views/client/contacts.php [ 9 ] » Kohana_Core::error_handler(arguments)

  2. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  3. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  4. SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()

  5. APPPATH/views/client/template.php [ 142 ] » Kohana_View->__toString()

  6. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  7. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  8. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  9. APPPATH/classes/Controller/Client.php [ 374 ] » Kohana_Controller_Template->after()

  10. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Client->after()

  11. {PHP internal call} » Kohana_Controller->execute()

  12. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  13. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  14. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  15. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment